package com.healthcloud.entity;

import java.util.Date;

import com.healthcloud.constants.StringConsts;
import io.swagger.annotations.ApiModelProperty;

/**
 * 病人电子档案基本信息
 * <p>
 * Created by xiam on 2015/6/17.
 * 2015-7-6
 * xyc修改
 */
public class Patient extends BaseEntityTimeChange {

    private String idCard; // 身份证号码

    private String socialInsuranceNum = StringConsts.EMPTY; // 社保号码

    private String medicalInsuranceNum = StringConsts.EMPTY; // 医保号码

    private String medicalCardNum = StringConsts.EMPTY; // 就诊卡号

    private String realname = StringConsts.EMPTY; // 姓名

    private Integer gender; // 性别

    private Date birthday; // 出生年月

    private String workCompany = StringConsts.EMPTY; // 工作单位

    private String phone = StringConsts.EMPTY; // 电话号码

    private String contacts = StringConsts.EMPTY; // 联系人

    private String contactPhone = StringConsts.EMPTY; // 联系人电话号码

    private Integer degree; // 学历

    private Integer bloodType; // 血型

    private Integer hukouType; // 户口类型

    private Integer maritalState; // 婚姻状况

    private Integer rhType; // RH 血型类型

    private String career; // 职业类型

    private Integer nationality; // 国籍

    private Integer aidType; // 援助类型

    private String postcode = StringConsts.EMPTY; // 邮政编码

    private Long areaCode; // 居住地区域编码

    private String homeAddress = StringConsts.EMPTY; // 居住地址

    private String company = StringConsts.EMPTY; // 管理单位

    private String birthdayOfString = StringConsts.EMPTY; //生日的String格式

    private String email = StringConsts.EMPTY; //邮箱

    private Integer nation; // 名族

    private Integer relationship; //与户主关系

    private Integer permanentType; //常住类型

    private Integer cardKind; //证件类型

    private String registerAddress = StringConsts.EMPTY; //户籍地址

    private String negativeEvents = StringConsts.EMPTY; //负性事件

    private String negativeEventsExtra = StringConsts.EMPTY; //负性事件其他

    private Double height;

    private Double weight;

    private Integer userId;

    private String userImage;

    private String doctorId;

    private String age = StringConsts.EMPTY; //年龄

    private String mobile;//电话号码

    @ApiModelProperty(value = "类型1=租赁插入", name = "类型1=租赁插入")
    private Integer type;

    @ApiModelProperty(value = "区分来源", name = "区分来源")
    private Integer sourceType;
    private Integer hospitalId;

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getSocialInsuranceNum() {
        return socialInsuranceNum;
    }

    public void setSocialInsuranceNum(String socialInsuranceNum) {
        this.socialInsuranceNum = socialInsuranceNum;
    }

    public String getMedicalInsuranceNum() {
        return medicalInsuranceNum;
    }

    public void setMedicalInsuranceNum(String medicalInsuranceNum) {
        this.medicalInsuranceNum = medicalInsuranceNum;
    }

    public String getMedicalCardNum() {
        return medicalCardNum;
    }

    public void setMedicalCardNum(String medicalCardNum) {
        this.medicalCardNum = medicalCardNum;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

//    public void setBirthday(String birthday) {
//        this.birthday = DateTime.parse(birthday, format);
//    }

    public String getWorkCompany() {
        return workCompany;
    }

    public void setWorkCompany(String workCompany) {
        this.workCompany = workCompany;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public Integer getDegree() {
        return degree;
    }

    public void setDegree(Integer degree) {
        this.degree = degree;
    }

    public Integer getBloodType() {
        return bloodType;
    }

    public void setBloodType(Integer bloodType) {
        this.bloodType = bloodType;
    }

    public Integer getHukouType() {
        return hukouType;
    }

    public void setHukouType(Integer hukouType) {
        this.hukouType = hukouType;
    }

    public Integer getMaritalState() {
        return maritalState;
    }

    public void setMaritalState(Integer maritalState) {
        this.maritalState = maritalState;
    }

    public Integer getRhType() {
        return rhType;
    }

    public void setRhType(Integer rhType) {
        this.rhType = rhType;
    }

    public String getCareer() {
        return career;
    }

    public void setCareer(String career) {
        this.career = career;
    }

    public Integer getNationality() {
        return nationality;
    }

    public void setNationality(Integer nationality) {
        this.nationality = nationality;
    }

    public Integer getAidType() {
        return aidType;
    }

    public void setAidType(Integer aidType) {
        this.aidType = aidType;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public Long getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(Long areaCode) {
        this.areaCode = areaCode;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getBirthdayOfString() {
        return birthdayOfString;
    }

    public void setBirthdayOfString(String birthdayOfString) {
        this.birthdayOfString = birthdayOfString;
    }

    public Integer getNation() {
        return nation;
    }

    public void setNation(Integer nation) {
        this.nation = nation;
    }

    public Integer getRelationship() {
        return relationship;
    }

    public void setRelationship(Integer relationship) {
        this.relationship = relationship;
    }

    public Integer getPermanentType() {
        return permanentType;
    }

    public void setPermanentType(Integer permanentType) {
        this.permanentType = permanentType;
    }

    public Integer getCardKind() {
        return cardKind;
    }

    public void setCardKind(Integer cardKind) {
        this.cardKind = cardKind;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNegativeEventsExtra() {
        return negativeEventsExtra;
    }

    public void setNegativeEventsExtra(String negativeEventsExtra) {
        this.negativeEventsExtra = negativeEventsExtra;
    }

    public String getRegisterAddress() {
        return registerAddress;
    }

    public void setRegisterAddress(String registerAddress) {
        this.registerAddress = registerAddress;
    }

    public String getNegativeEvents() {
        return negativeEvents;
    }

    public void setNegativeEvents(String negativeEvents) {
        this.negativeEvents = negativeEvents;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Integer hospitalId) {
        this.hospitalId = hospitalId;
    }
}
